package com.hotel.homehotel.before.service;

import com.hotel.homehotel.before.entiy.Comment;
import com.hotel.homehotel.before.entiy.Reply;
import com.hotel.homehotel.before.entiy.vo.CommentVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommentService {
    public List<CommentVo> selectByRoomId(String roomId);

    public boolean insertComment(Comment comment);

    public boolean insertReply(Reply reply);
    boolean deleteComment(String id);
    boolean deleteReply(String id);
}
